#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>


int main() {
    int i = 0;
    int n = 0;
    int positive = 0;
    int negative = 0;
    for (i = 1; i <= 10; i++)
    {
        scanf("%d", &n);
        if (n > 0)
        {
            positive++;
        }
        if (n < 0)
        {
            negative++;
        }
    }
    printf("positive:%d\n", positive);
    printf("negative:%d\n", negative);
    return 0;
}